package koneksi;

import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;

public class CreateTableUser {
    public static void main(String[] args) {
        try {
            DataBaseConnection conn = new DataBaseConnection();
            String sql1 = "create table datauser(username varchar(20), " + " password varchar(50))";
            Statement st = conn.getConnection().createStatement();
            st.executeQuery(sql1);
        } catch (SQLException ex) {
            Logger.getLogger(CreateTableUser.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
